
public class Testi {

	
	public static void main(String[] args){
		JTopic topic = new JTopic(1, "IDEE", "DESCR");
		JMember testi = new JMember();
		topic.addObserver(testi);
		testi.subscribeToTopic(topic);
		topic.setTitle("changed");
	}
	
	
}
